package com.example.myapplicationndk.retrofit;

import com.example.myapplicationndk.bean.Artical;

import java.util.List;

public class Articals {


    private List<Artical> data;
    private int errorCode;
    private String errorMsg;

    public void setData(List<Artical> data) {
        this.data = data;
    }

    public List<Artical> getData() {
        return data;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    @Override
    public String toString() {
        return "JsonBean{" +
                "data=" + data +
                ", errorCode=" + errorCode +
                ", errorMsg='" + errorMsg + '\'' +
                '}';
    }


}
